SlideShare a Scribd company logo
1 of 7
Transforming XML data into HTML  http://www.livetolearn.in
XSL ,[object Object],[object Object],http://www.livetolearn.in
[object Object],[object Object],<? xml   version = &quot; 1.0 &quot;   encoding = &quot; utf-8 &quot;  ?> < links > < link > < title > Microsoft Official ASP.NET site  </ title > < url > http://www.asp.net </ url > < description > The primary site for ASP.NET developers. </ description > </ link > < link > < title > Collection of Tutorials, Ebooks, Videos </ title > < url > http://www.livetolearn.in </ url > < description > Computer Programming Tutorials, Tutorial Sites, E-books, Videos, Powerpoint Presentations </ description > </ link > </ links > http://www.livetolearn.in
Add xslt stylesheet file in root folder and replace with the following content <? xml   version =&quot;1.0&quot;  encoding =&quot;utf-8&quot;?> < xsl:stylesheet   version =&quot;1.0&quot;  xmlns:xsl =&quot;http://www.w3.org/1999/XSL/Transform&quot;> < xsl:template   match =&quot;/links&quot;> < xsl:for-each   select =&quot;link&quot;  > < p   class =&quot;headingtitle&quot;> < xsl:value-of   select =&quot;title&quot;/> </ p > < div   class =&quot;content&quot;> URL: < xsl:value-of   select =&quot;url&quot;/> </ div > Description: < xsl:value-of   select =&quot;description&quot;/> < hr /> </ xsl:for-each > </ xsl:template > </ xsl:stylesheet > http://www.livetolearn.in
[object Object],[object Object],[object Object],http://www.livetolearn.in
[object Object],[object Object],< style  type =&quot;text/css&quot;> .headingtitle { font-weight:  bold; background-color:  #FFFF00; border-style:  ridge; } .content { background-color:  #99CCFF; font-weight:  bold; border-style:  outset; } </ style > http://www.livetolearn.in
Now, browse it (F5 / Ctrl+F5) http://www.livetolearn.in

More Related Content

What's hot (19)

Working with External CSS
Working with External CSSWorking with External CSS
Working with External CSS
 
Intro To HTML
Intro To HTMLIntro To HTML
Intro To HTML
 
Digital + Container List
Digital + Container ListDigital + Container List
Digital + Container List
 
Xhtml
XhtmlXhtml
Xhtml
 
Headings
HeadingsHeadings
Headings
 
1.2 elements and attributes copy (3)
1.2 elements and attributes   copy (3)1.2 elements and attributes   copy (3)
1.2 elements and attributes copy (3)
 
Xml
XmlXml
Xml
 
Class2
Class2Class2
Class2
 
Hyperlink
HyperlinkHyperlink
Hyperlink
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Html text formatting
Html text formattingHtml text formatting
Html text formatting
 
Block2 Session2 Presentation
Block2 Session2 PresentationBlock2 Session2 Presentation
Block2 Session2 Presentation
 
Krazykoder struts2 ui_tags
Krazykoder struts2 ui_tagsKrazykoder struts2 ui_tags
Krazykoder struts2 ui_tags
 
Html_Day_One (W3Schools)
Html_Day_One (W3Schools)Html_Day_One (W3Schools)
Html_Day_One (W3Schools)
 
HTML Intermediate
HTML IntermediateHTML Intermediate
HTML Intermediate
 
HTML Advanced
HTML AdvancedHTML Advanced
HTML Advanced
 
Html guide
Html guideHtml guide
Html guide
 
Intr To Html & Xhtml
Intr To Html & XhtmlIntr To Html & Xhtml
Intr To Html & Xhtml
 

Viewers also liked

Tramonex_Corporate Brochure (3)
Tramonex_Corporate Brochure (3)Tramonex_Corporate Brochure (3)
Tramonex_Corporate Brochure (3)Khalid Talukder
 
Enfoque cualitativo
Enfoque cualitativoEnfoque cualitativo
Enfoque cualitativoyulianaparra
 
Pengaruh jenis media tanam
Pengaruh jenis media tanamPengaruh jenis media tanam
Pengaruh jenis media tanamcahjatilengger
 
Top100 Brands Single
Top100 Brands SingleTop100 Brands Single
Top100 Brands Singledgamache
 
Viral growth – presentation at European Innovation Academy 2015
Viral growth – presentation at European Innovation Academy 2015Viral growth – presentation at European Innovation Academy 2015
Viral growth – presentation at European Innovation Academy 2015Andreas Ehn
 
Savannah chatham (1)..
Savannah chatham (1)..Savannah chatham (1)..
Savannah chatham (1)..eeniarrol
 
IPv6 deployment status
IPv6 deployment statusIPv6 deployment status
IPv6 deployment statusAPNIC
 
Muchalucha
MuchaluchaMuchalucha
Muchaluchaadvera1
 
Factoring out system components – RAMP 2013
Factoring out system components – RAMP 2013Factoring out system components – RAMP 2013
Factoring out system components – RAMP 2013Andreas Ehn
 
Towards an Open Data Center with an Interoperable Network (ODIN) : Volume 2: ...
Towards an Open Data Center with an Interoperable Network (ODIN) : Volume 2: ...Towards an Open Data Center with an Interoperable Network (ODIN) : Volume 2: ...
Towards an Open Data Center with an Interoperable Network (ODIN) : Volume 2: ...IBM India Smarter Computing
 
Si Kecil Yang Berharga - A Campaign Against Smoking Around Children
Si Kecil Yang Berharga - A Campaign Against Smoking Around ChildrenSi Kecil Yang Berharga - A Campaign Against Smoking Around Children
Si Kecil Yang Berharga - A Campaign Against Smoking Around ChildrenJames Hezekiah
 
La perdurabilidad en las empresas familiares
La perdurabilidad en las empresas familiaresLa perdurabilidad en las empresas familiares
La perdurabilidad en las empresas familiaresmariaperezgamboa
 
Indonesia forest league - young lions 2013
Indonesia forest league - young lions 2013 Indonesia forest league - young lions 2013
Indonesia forest league - young lions 2013 Intan Andini
 
Moto g 4
Moto g 4Moto g 4
Moto g 4mec17
 

Viewers also liked (20)

Tec16grupo9 ide9610177 anexos1
Tec16grupo9 ide9610177 anexos1Tec16grupo9 ide9610177 anexos1
Tec16grupo9 ide9610177 anexos1
 
Daur baur Digital activation
Daur baur Digital activationDaur baur Digital activation
Daur baur Digital activation
 
Tramonex_Corporate Brochure (3)
Tramonex_Corporate Brochure (3)Tramonex_Corporate Brochure (3)
Tramonex_Corporate Brochure (3)
 
Enfoque cualitativo
Enfoque cualitativoEnfoque cualitativo
Enfoque cualitativo
 
Tayammum
TayammumTayammum
Tayammum
 
Pengaruh jenis media tanam
Pengaruh jenis media tanamPengaruh jenis media tanam
Pengaruh jenis media tanam
 
Salam tempel
Salam tempelSalam tempel
Salam tempel
 
Top100 Brands Single
Top100 Brands SingleTop100 Brands Single
Top100 Brands Single
 
Alaa Bebars
Alaa BebarsAlaa Bebars
Alaa Bebars
 
Viral growth – presentation at European Innovation Academy 2015
Viral growth – presentation at European Innovation Academy 2015Viral growth – presentation at European Innovation Academy 2015
Viral growth – presentation at European Innovation Academy 2015
 
Savannah chatham (1)..
Savannah chatham (1)..Savannah chatham (1)..
Savannah chatham (1)..
 
Beni culturali - Daniela Fiore
Beni culturali  - Daniela FioreBeni culturali  - Daniela Fiore
Beni culturali - Daniela Fiore
 
IPv6 deployment status
IPv6 deployment statusIPv6 deployment status
IPv6 deployment status
 
Muchalucha
MuchaluchaMuchalucha
Muchalucha
 
Factoring out system components – RAMP 2013
Factoring out system components – RAMP 2013Factoring out system components – RAMP 2013
Factoring out system components – RAMP 2013
 
Towards an Open Data Center with an Interoperable Network (ODIN) : Volume 2: ...
Towards an Open Data Center with an Interoperable Network (ODIN) : Volume 2: ...Towards an Open Data Center with an Interoperable Network (ODIN) : Volume 2: ...
Towards an Open Data Center with an Interoperable Network (ODIN) : Volume 2: ...
 
Si Kecil Yang Berharga - A Campaign Against Smoking Around Children
Si Kecil Yang Berharga - A Campaign Against Smoking Around ChildrenSi Kecil Yang Berharga - A Campaign Against Smoking Around Children
Si Kecil Yang Berharga - A Campaign Against Smoking Around Children
 
La perdurabilidad en las empresas familiares
La perdurabilidad en las empresas familiaresLa perdurabilidad en las empresas familiares
La perdurabilidad en las empresas familiares
 
Indonesia forest league - young lions 2013
Indonesia forest league - young lions 2013 Indonesia forest league - young lions 2013
Indonesia forest league - young lions 2013
 
Moto g 4
Moto g 4Moto g 4
Moto g 4
 

Similar to Transforming Xml Data Into Html

Inroduction to XSLT with PHP4
Inroduction to XSLT with PHP4Inroduction to XSLT with PHP4
Inroduction to XSLT with PHP4Stephan Schmidt
 
XML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEARXML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEARStephan Schmidt
 
XML processing with perl
XML processing with perlXML processing with perl
XML processing with perlJoe Jiang
 
3 xml namespaces and xml schema
3   xml namespaces and xml schema3   xml namespaces and xml schema
3 xml namespaces and xml schemagauravashq
 
Introduction To Xml
Introduction To XmlIntroduction To Xml
Introduction To Xmlbdebruin
 
Architecting Web Services
Architecting Web ServicesArchitecting Web Services
Architecting Web ServicesLorna Mitchell
 
XML Transformations With PHP
XML Transformations With PHPXML Transformations With PHP
XML Transformations With PHPStephan Schmidt
 
Php Mysql Feedrss
Php Mysql FeedrssPhp Mysql Feedrss
Php Mysql FeedrssRCS&RDS
 
Xml For Dummies Chapter 12 Handling Transformations With Xsl it-slideshares...
Xml For Dummies   Chapter 12 Handling Transformations With Xsl it-slideshares...Xml For Dummies   Chapter 12 Handling Transformations With Xsl it-slideshares...
Xml For Dummies Chapter 12 Handling Transformations With Xsl it-slideshares...phanleson
 
crystal xcelsius and web services by dashboardcafe.com
crystal xcelsius and web services by dashboardcafe.comcrystal xcelsius and web services by dashboardcafe.com
crystal xcelsius and web services by dashboardcafe.comSigit Yunanto
 
Extensible Stylesheet Language
Extensible Stylesheet LanguageExtensible Stylesheet Language
Extensible Stylesheet LanguageJussi Pohjolainen
 

Similar to Transforming Xml Data Into Html (20)

XML and XSLT
XML and XSLTXML and XSLT
XML and XSLT
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
XMLT
XMLTXMLT
XMLT
 
Inroduction to XSLT with PHP4
Inroduction to XSLT with PHP4Inroduction to XSLT with PHP4
Inroduction to XSLT with PHP4
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xml
XmlXml
Xml
 
Xml Schema
Xml SchemaXml Schema
Xml Schema
 
XML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEARXML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEAR
 
RSS
RSSRSS
RSS
 
XML processing with perl
XML processing with perlXML processing with perl
XML processing with perl
 
Xml
XmlXml
Xml
 
Blogs and RSS
Blogs and RSSBlogs and RSS
Blogs and RSS
 
3 xml namespaces and xml schema
3   xml namespaces and xml schema3   xml namespaces and xml schema
3 xml namespaces and xml schema
 
Introduction To Xml
Introduction To XmlIntroduction To Xml
Introduction To Xml
 
Architecting Web Services
Architecting Web ServicesArchitecting Web Services
Architecting Web Services
 
XML Transformations With PHP
XML Transformations With PHPXML Transformations With PHP
XML Transformations With PHP
 
Php Mysql Feedrss
Php Mysql FeedrssPhp Mysql Feedrss
Php Mysql Feedrss
 
Xml For Dummies Chapter 12 Handling Transformations With Xsl it-slideshares...
Xml For Dummies   Chapter 12 Handling Transformations With Xsl it-slideshares...Xml For Dummies   Chapter 12 Handling Transformations With Xsl it-slideshares...
Xml For Dummies Chapter 12 Handling Transformations With Xsl it-slideshares...
 
crystal xcelsius and web services by dashboardcafe.com
crystal xcelsius and web services by dashboardcafe.comcrystal xcelsius and web services by dashboardcafe.com
crystal xcelsius and web services by dashboardcafe.com
 
Extensible Stylesheet Language
Extensible Stylesheet LanguageExtensible Stylesheet Language
Extensible Stylesheet Language
 

Transforming Xml Data Into Html

  • 1. Transforming XML data into HTML http://www.livetolearn.in
  • 2.
  • 3.
  • 4. Add xslt stylesheet file in root folder and replace with the following content <? xml version =&quot;1.0&quot; encoding =&quot;utf-8&quot;?> < xsl:stylesheet version =&quot;1.0&quot; xmlns:xsl =&quot;http://www.w3.org/1999/XSL/Transform&quot;> < xsl:template match =&quot;/links&quot;> < xsl:for-each select =&quot;link&quot; > < p class =&quot;headingtitle&quot;> < xsl:value-of select =&quot;title&quot;/> </ p > < div class =&quot;content&quot;> URL: < xsl:value-of select =&quot;url&quot;/> </ div > Description: < xsl:value-of select =&quot;description&quot;/> < hr /> </ xsl:for-each > </ xsl:template > </ xsl:stylesheet > http://www.livetolearn.in
  • 5.
  • 6.
  • 7. Now, browse it (F5 / Ctrl+F5) http://www.livetolearn.in